package io.renren.dictionary.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dictionary.dao.TDictionaryTypeDao;
import io.renren.dictionary.entity.TDictionaryTypeEntity;
import io.renren.dictionary.service.TDictionaryTypeService;



@Service("tDictionaryTypeService")
public class TDictionaryTypeServiceImpl implements TDictionaryTypeService {
	@Autowired
	private TDictionaryTypeDao tDictionaryTypeDao;
	
	@Override
	public TDictionaryTypeEntity queryObject(String id){
		return tDictionaryTypeDao.queryObject(id);
	}
	
	@Override
	public List<TDictionaryTypeEntity> queryList(Map<String, Object> map){
		return tDictionaryTypeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return tDictionaryTypeDao.queryTotal(map);
	}
	
	@Override
	public void save(TDictionaryTypeEntity tDictionaryType){
		tDictionaryTypeDao.save(tDictionaryType);
	}
	
	@Override
	public void update(TDictionaryTypeEntity tDictionaryType){
		tDictionaryTypeDao.update(tDictionaryType);
	}
	
	@Override
	public void delete(String id){
		tDictionaryTypeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		tDictionaryTypeDao.deleteBatch(ids);
	}
	
}
